package com.itheima.demo.demo07;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;

public class Student {
    public static void main(String[] args) {
      Map<Integer,Student01>map=new HashMap<>();
        while (true){
            System.out.println("-------欢迎来到学生管理系统---------");
            System.out.println("1 查看学生");
            System.out.println("2 添加学生");
            System.out.println("3 删除学生");
            System.out.println("4 修改学生");
            System.out.println("5 退出");
            System.out.println("请输入操作数字:");
            Scanner sc = new Scanner(System.in);
            String choiceString = sc.nextLine();
            switch (choiceString){
                case "1":

        }

        }
    }

    public static void addstudent(Map<Integer,Student01>map){
        Scanner sc=new Scanner(System.in);
       Integer ID;
       while (true){
           ID=sc.nextInt();
           for (Integer key : map.keySet()) {
               ID=key;
           }
           System.out.println("请输入学生的名字");
           String name = sc.next();
           System.out.println("请输入学生的年龄");
           int age = sc.nextInt();
           System.out.println("请输入学生的地址");
           String s = sc.next();




       }



        }
    }




